-- GENERATED SPELL FOR [Irondeep Peon] --


function spell0_13397(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(15572,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13397', 30256, 1)
end

function Sorts_13397(pUnit, Event)
local choix_sorts_13397 = math.random(0, 0)
if choix_sorts_13397 == 0 then
pUnit:RegisterEvent('spell0_13397', 1, 1)
end
end

function mob13397_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13397', math.random(1500, 3000), 1)
end

function mob13397_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13397_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13397_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13397, 1, 'mob13397_Action')
RegisterUnitEvent(13397, 2, 'mob13397_Leave')
RegisterUnitEvent(13397, 3, 'mob13397_Kill')
RegisterUnitEvent(13397, 4, 'mob13397_Die')
